/*
 * CommandEvaluerObs.h
 *
 *  Created on: 28 nov. 2011
 *      Author: mnemoi
 */

#ifndef _COMMANDEVALUEROBS_H_
#define _COMMANDEVALUEROBS_H_
#include "Command.h"
#include "CommandRobot.h"

class CommandEvaluerObs: public Command, public CommandRobot {

public:
	static CommandEvaluerObs maCmd;

	CommandEvaluerObs(Robot*rob=NULL,string d=(string)"EVALUEROBS") : CommandRobot(rob), Command(d) {}

	CommandEvaluerObs* constVirtual(Robot *rob) {
		return new CommandEvaluerObs(rob);
	}

	CommandEvaluerObs(string str):Command(str),CommandRobot(){}
	void executer() {
		r->evaluerObstacle();
	}

};

#endif
